import Vue from "vue";
import "./init";
import "element-ui/lib/theme-chalk/index.css";
// import Element from "element-ui";
// Vue.use(Element, { size: "small" });
import {
  Container, Aside, Main, Menu, MenuItem, Submenu,
  Card, Divider, Button, Select, Row, Col, Form, FormItem,
  Scrollbar, Empty, Tabs, TabPane, Input, InputNumber, Switch,
  RadioGroup, Radio, RadioButton, CheckboxGroup, Checkbox, CheckboxButton,
  Table, TableColumn, Tag, DatePicker, Dialog,
  Rate, Upload, Image, Slider, Cascader, Option, OptionGroup,
  Tree, Transfer, ColorPicker, TimePicker, Link,
  Message, MessageBox, Tooltip, Alert, Collapse, CollapseItem,
} from 'element-ui';
Vue.use(Container).use(Aside).use(Main).use(Menu).use(MenuItem).use(Submenu)
Vue.use(Card).use(Divider).use(Button).use(Select).use(Row).use(Col).use(Form).use(FormItem)
Vue.use(Scrollbar).use(Empty).use(Tabs).use(TabPane).use(Input).use(InputNumber).use(Switch)
Vue.use(RadioGroup).use(Radio).use(RadioButton).use(CheckboxGroup).use(Checkbox).use(CheckboxButton).use(Switch)
Vue.use(Table).use(TableColumn).use(Tag).use(DatePicker).use(Dialog)
Vue.use(Rate).use(Upload).use(Image).use(Cascader).use(Slider).use(Option).use(OptionGroup)
Vue.use(Tree).use(Transfer).use(ColorPicker).use(TimePicker).use(Link).use(Tooltip).use(Alert)
Vue.use(Collapse).use(CollapseItem)

Vue.prototype.$message = Message;
Vue.prototype.$messageBox = MessageBox;






// Vue.component(Button.name, Button);
// Vue.component(Select.name, Select);
// Vue.component(Row.name, Row);
// Vue.component(Col.name, Col);
// Vue.component(Container.name, Container);
// Vue.component(Aside.name, Aside);
// Vue.component(Main.name, Main);








